package com.lsq.wuyuge.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 浏览历史表
 * </p>
 *
 * @author 一声闷雷
 * @since 2025-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("view_history")
//@ApiModel(value="ViewHistory对象", description="浏览历史表")
public class ViewHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    //@ApiModelProperty(value = "浏览历史ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

   //@ApiModelProperty(value = "用户ID")
    private Long userId;

    //@ApiModelProperty(value = "文章ID")
    private Long articleId;

    //@ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    //@ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    //@ApiModelProperty(value = "是否删除：0-未删除，1-已删除")
    private Integer deleted;


}
